const config = {
  url: '',
  projectName: '',
  userName: '',
  userAccount: '',
  sourcemap: false,
  isImgUpload: false,
  batchSize: 10,
};

export function setConfig(options) {
  for (const key in config) {
    if (options[key]) {
      config[key] = options[key];
    }
  }
}

export default config;
